package com.wjbgn.bsolver.server.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wjbgn.stater.dto.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Description: bug回复的用户采纳和无用记录
 * Create Date: 2022-05-11T14:01:17.965
 *
 * @author wjbgn
 * @version 1.0
 */
@Data
@ApiModel(value = "BugAnswerAcceptRejectDTO", description = "数据传输对象BugAnswerAcceptRejectDTO")
public class BugAnswerAcceptRejectDTO extends PageDTO {

    /**
     *
     */
    @ApiModelProperty(notes = "")
    private String id;

    /**
     * 回复id
     */
    @ApiModelProperty(notes = "回复id")
    private String answerId;

    /**
     * bugid
     */
    @ApiModelProperty(notes = "bugid")
    private String bugId;

    /**
     * 用户名
     */
    @ApiModelProperty(notes = "用户名")
    private String username;

    /**
     * 是否采纳
     */
    @ApiModelProperty(notes = "是否采纳")
    private Integer isAccept;

    /**
     * 是否无用
     */
    @ApiModelProperty(notes = "是否无用")
    private Integer isReject;

    /**
     *
     */
    @ApiModelProperty(notes = "")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     *
     */
    @ApiModelProperty(notes = "")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

}
